package com.ruoyi.common.enums;

public enum DataScopeEnums {
    ALL("全部数据", "1"),
    CUSTOM("自定义数据", "2"),
    DEPT_ONLY("部门数据", "3"),
    DEPT_AND_CHILD("本部门数据及以下数据", "4"),
    SELF("个人数据", "5");

    private final String desc;
    private final String value;

    DataScopeEnums(String desc, String value) {
        this.desc = desc;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public String getValue() {
        return value;
    }
}
